<?php
use yii\helper\Url;
use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\Recover */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="recover-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'gtable')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'class_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'deleted_by')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'delete_time')->textInput() ?>

    <?= $form->field($model, 'route')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'fid')->textInput() ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? '添加' : '保存', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
        <?= Html::a('返回',['index'], ['class' =>'btn btn-warning' ]) ?>

    </div>

    <?php ActiveForm::end(); ?>

</div>
